﻿using B.S.DataBase.ErrorCode;
using MediatR;

namespace B.S.DataBase.Write.API.Application.Commands
{
    /// <summary>
    /// 商品基本信息新增命令
    /// </summary>
    public class CreateProductCommand:IRequest<APIResult<int>>
    {
        /// <summary>
        /// 批次Id
        /// </summary>
        public string BatchId { get; set; }

        /// <summary>
        /// 保质期
        /// </summary>
        public int KeepSafe { get; set; }

        /// <summary>
        /// 生产许可证
        /// </summary>
        public string Permission { get; set; }

        /// <summary>
        /// 生产企业
        /// </summary>
        public string FirmName { get; set; }

        /// <summary>
        /// 信息完整度
        /// </summary>
        public int Full { get; set; }
        /// <summary>
        /// 封面图
        /// </summary>

        public string? Image { get; set; }

    }
}
